{template 'common/header'}
<ul class="nav nav-tabs">
    <li ><a href="{php echo url('sms/grant/list');}">拨款凭证信息列表</a></li>
    <li ><a href="{php echo url('sms/grant/post');}">增加拨款凭证信息列表</a></li>
    <li class="active" ><a href="{php echo url('sms/grant/audit');}">审核拨款凭证信息</a></li>
</ul>
<div class="clearfix">
    <form class="form-horizontal form" action="{php echo url('sms/grant/audit');}" method="post" id="form1">
        <input type="hidden" name="id" value="{$row['id']}" />

        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 col-lg-2 control-label">付款单位全称</label>
            <div class="col-sm-5">
                <input type="text" id="payer" class="form-control" name="payer" value="{$row['payer']}" disabled="true"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 col-lg-2 control-label">收款单位全称</label>
            <div class="col-sm-5">
                <input type="text" id="payee" class="form-control" name="payee" value="{$row['payee']}" disabled="true"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 col-lg-2 control-label">拨款金额</label>
            <div class="col-sm-5">
                <div class="input-group">
                <input type="text" id="money" class="form-control" name="money" value="{$row['money']}" disabled="true"/>
                <span class="input-group-addon">元</span>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 col-lg-2 control-label">用途</label>
            <div class="col-sm-5">
                <input type="text" id="purpose" class="form-control" name="purpose" value="{$row['purpose']}" disabled="true"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 col-lg-2 control-label">凭证图片</label>
            <div class="col-sm-6" style="margin-top:.5em;">
                <img src="{$_W['attachurl']}{$row['thumb']}" class="img-responsive img-thumbnail" />
            </div>
        </div>
        {if $row['needsend'] == '1'}
        <div class="form-group msgd">
            <label class="col-xs-12 col-sm-3 col-md-3 col-lg-2 control-label">接收人员</label>
            <div class="col-sm-5">
                <table class="table table-hover">
                    <thead class="navbar-inner">
                    <tr>
                        <th>名称</th>
                        <th>手机</th>
                        <th>职务</th>
                    </tr>
                    </thead>
                    <tbody id="form-items">
                    {loop $selects $item}
                    <tr>
                        <td>{$item['name']} </td>
                        <td>{$item['mobile']}</td>
                        <td>{$item['worktitle']}</td>
                    </tr>
                    {/loop}
                    </tbody>
                </table>
            </div>
        </div>
        {/if}
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 col-lg-2 control-label"></label>
            <div class="col-sm-10">
                <button type="submit" class="btn btn-success btn-lg" name="submit" value="pass"><i class="fa fa-circle-o"></i>通过</button>&nbsp;&nbsp;
                <button type="submit" class="btn btn-danger btn-lg" name="submit" value="unpass"><i class="fa fa-ban"></i>不通过</button>&nbsp;&nbsp;
                <a  class="btn btn-primary"  href="{php echo url('sms/grant/list');}">取 消</a>
                <input type="hidden" name="token" value="{$_W['token']}" />
            </div>
        </div>
    </form>
</div>
<script type="text/javascript">

</script>
{template 'common/footer'}